<template>
	<view class="serveOrderdetail">
		<view class="statusBox">
			<image :src="imaurl+'d5.png'" style="width: 48rpx;height: 48rpx;" mode=""></image>
			<view class="" style="margin-left: 20rpx;">
				用户已提交，请尽快接受
			</view>
		</view>

		<view class="jsmessage_content">
			<view class="titleBox">
				<view class="shu"></view>
				<view class="">
					客户地址
				</view>
			</view>
			<view class="addressBox">
				<view class="nameprice">
					<text>{{pageData.my_name}}</text><text>{{pageData.my_mobile}}</text>
				</view>
				<view class="addresstext">
					{{pageData.my_address}}
				</view>
			</view>

		</view>

		<view class="jsmessage_content">
			<view class="titleBox">
				<view class="shu"></view>
				<view class="">
					鸽子信息
				</view>
			</view>
			<view class="contentitem">
				<view class="item">
					<view class="lable">
						环号
					</view>
					<view class="value" style="width: 300rpx;">
						{{pageData.ring}}
					</view>
				</view>
				<view class="item">
					<view class="lable" >
						羽色
					</view>
					<view class="value" style="width: 220rpx;">
						{{pageData.color}}
					</view>
				</view>
			</view>
			<view class="other">
				<view class="lable">
					其他
				</view>
				<view class="value">
					{{pageData.other}}
				</view>
			</view>
		</view>


		<view class="jsmessage_content">
			<view class="titleBox">
				<view class="shu"></view>
				<view class="">
					寄送信息
				</view>
			</view>
			<view class="messageItem">
				<view class="lable">
					寄送编号
				</view>
				<view class="value">
					{{pageData.order_sn}}
				</view>
			</view>
			<view class="messageItem">
				<view class="lable">
					提交时间
				</view>
				<view class="value">
					{{pageData.addtime}}
				</view>
			</view>

		</view>

		<view class="" style="height: 100rpx;"></view>

		<u-modal :show="show" :title="title"></u-modal>

	</view>
</template>

<script>
	import {
		dlsendorderinfo
	} from "@/api/api.js"
	export default {
		data() {
			return {
				pageId: "",
				pageData: {},
				show: false,
				title: "您确定要接受该信鸽吗?",
				imaurl: "https://szgb.tongchengbang.cc/img/image/",
			}
		},
		onLoad(options) {
			this.pageId = options.id
			this.handleOrderdetail()
		},
		methods: {
			async handleOrderdetail() {
				let res = await dlsendorderinfo({
					id: this.pageId
				})
				this.pageData = res.data
			},

		}
	}
</script>

<style scoped lang="scss">
	.serveOrderdetail {
		.statusBox {
			width: 750rpx;
			height: 108rpx;
			background: #FFF5CC;
			padding: 30rpx;
			box-sizing: border-box;
			display: flex;
			align-items: center;
			font-family: PingFang SC, PingFang SC;
			font-weight: 400;
			font-size: 32rpx;
			color: #333333;
			// line-height: 38rpx;
		}

		.titleBox {
			font-family: PingFang SC, PingFang SC;
			font-weight: 800;
			font-size: 32rpx;
			color: #333333;
			line-height: 38rpx;
			display: flex;
			align-items: center;

			.shu {
				width: 8rpx;
				height: 32rpx;
				background: #00BF52;
				border-radius: 200rpx 200rpx 200rpx 200rpx;
				margin-right: 20rpx;
			}
		}

		.addressBox {
			width: 690rpx;
			height: 160rpx;
			// background: #F6F6F6;
			border-radius: 20rpx 20rpx 20rpx 20rpx;
			margin-top: 20rpx;
			padding: 30rpx;
			box-sizing: border-box;

			.nameprice {
				font-family: PingFang SC, PingFang SC;
				font-weight: 400;
				font-size: 28rpx;
				color: #333333;
				line-height: 33rpx;
			}

			.addresstext {
				width: 584rpx;
				font-family: PingFang SC, PingFang SC;
				font-weight: 400;
				font-size: 24rpx;
				color: #666666;
				line-height: 28rpx;
				margin-top: 18rpx;
			}
		}

		.ljjs_content {
			width: 750rpx;
			background: #FFFFFF;
			padding: 30rpx;
			box-sizing: border-box;
			margin-top: 20rpx;

			.topcontent {
				display: flex;
				align-items: center;
				justify-content: space-between;

				.right {
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 32rpx;
					color: #333333;
					line-height: 38rpx;
				}

				.btns {
					width: 240rpx;
					height: 68rpx;
					background: #00BF52;
					border-radius: 200rpx 200rpx 200rpx 200rpx;
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 32rpx;
					color: #FFFFFF;
					line-height: 68rpx;
					text-align: center;
				}
			}


		}

		.jsmessage_content {
			width: 750rpx;
			background: #FFFFFF;
			padding: 30rpx;
			box-sizing: border-box;
			margin-top: 20rpx;

			.messageItem {
				display: flex;
				align-items: center;
				justify-content: space-between;
				margin-top: 30rpx;

				.lable {
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 28rpx;
					color: #666666;
					line-height: 33rpx;
				}

				.value {
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 28rpx;
					color: #333333;
					line-height: 33rpx;
				}
			}

			.other {
				display: flex;
				align-items: center;
				margin-top: 30rpx;

				.lable {
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 28rpx;
					color: #333333;
					line-height: 33rpx;
				}

				.value {
					width: 614rpx;
					height: 80rpx;
					background: #F6F6F6;
					border-radius: 20rpx 20rpx 20rpx 20rpx;
					padding: 20rpx;
					box-sizing: border-box;
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 28rpx;
					color: #333333;
					margin-left: 20rpx;
				}
			}

			.serveitem {
				display: flex;
				align-content: center;
				align-items: center;
				width: 690rpx;
				height: 184rpx;
				background: #F6F6F6;
				border-radius: 20rpx 20rpx 20rpx 20rpx;
				padding: 20rpx;
				box-sizing: border-box;
				margin-bottom: 20rpx;

				.servemessage {
					margin-left: 20rpx;
					height: 144rpx;
					display: flex;
					flex-direction: column;
					justify-content: space-between;

					.name {
						font-family: PingFang SC, PingFang SC;
						font-weight: 400;
						font-size: 32rpx;
						color: #333333;
						line-height: 38rpx;
					}

					.desc {
						width: 370rpx;
						height: 80rpx;
						font-family: PingFang SC, PingFang SC;
						font-weight: 400;
						font-size: 28rpx;
						color: #999999;
						line-height: 33rpx;
					}
				}

				.price {
					font-family: DIN, DIN;
					font-weight: 500;
					font-size: 36rpx;
					color: #E40700;
					line-height: 42rpx;
					margin-left: 30rpx;
				}
			}

			.contentitem {
				display: flex;
				align-items: center;
				margin-top: 30rpx;
				justify-content: space-between;

				.item {
					display: flex;
					align-items: center;

					// width: 50%;

					.lable {
						font-family: PingFang SC, PingFang SC;
						font-weight: 400;
						font-size: 28rpx;
						color: #333333;
						line-height: 33rpx;
					}

					.value {
						width: 254rpx;
						height: 80rpx;
						background: #F6F6F6;
						border-radius: 20rpx 20rpx 20rpx 20rpx;
						padding: 20rpx;
						box-sizing: border-box;
						font-family: PingFang SC, PingFang SC;
						font-weight: 400;
						font-size: 28rpx;
						color: #333333;
						margin-left: 20rpx;
					}
				}

			}

			.save {
				font-family: PingFang SC, PingFang SC;
				font-weight: 400;
				font-size: 28rpx;
				color: #00BF52;
				line-height: 33rpx;
				text-align: left;
				margin-left: 422rpx;
			}

			.imaBox {
				margin-top: 30rpx;
			}
		}

	}
</style>